refactor(workspace): Moves the main package into src/function-stream and centralizes the workspace metadata.#227
Open
luoluoyuyu wants to merge 7 commits into
Open
Conversation
- 根 Cargo.toml 改为纯 workspace,主程序与库移至 src/function-stream - 新增 [workspace.package] 统一 version / edition,成员 crate 使用 *.workspace = true - Makefile:VERSION 从根 Cargo.toml 读取,构建显式 -p function-stream,lite 使用 OPTIMIZE_FLAGS - wasm_host bindgen WIT 路径改为 ../../wit,以适配子目录中的 package manifest - 移除根 src 下旧入口与 runtime/storage 模块,streaming/wasm 等 crate 路径与导入同步调整 - examples-validator 与全仓 edition 对齐为 2024 Co-authored-by: Cursor <cursoragent@cursor.com>
- Move coordinator sources from legacy/ to src/coordinator/src; embed via coordinator_body.rs; update function-stream #[path]. - Move servicer sources from legacy/; embed via servicer_body.rs; update function-stream #[path]. - Remove unused config legacy shim (src/config/src/legacy/mod.rs). - Drop empty function-stream-job-manager workspace member; refresh Cargo.lock. - CLI: collapse nested ifs in repl.rs for clippy::collapsible_if. - streaming_planner: add crate-level #![allow(dead_code)] for reserved APIs under -D warnings. - .gitignore: **/__pycache__/ and *.py[cod] so bytecode is never committed.
Run rustfmt on CLI, coordinator, catalog_storage, streaming_planner, streaming_runtime, and wasm_runtime so cargo fmt --check passes for the main binary and CLI packages.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.